package com.xmtlxx.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


/**
 * 工作流程视图对象 sys_workflow
 *
 * @author xmtlxx
 * @date 2022-04-24
 */
@Data
@ApiModel("工作流程视图对象")
@ExcelIgnoreUnannotated
public class SysWorkflowVo {

    private static final long serialVersionUID = 1L;

    /**
     * 流程id
     */
    @ExcelProperty(value = "流程id")
    @ApiModelProperty("流程id")
    private String wid;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    @ApiModelProperty("名称")
    private String name;

    /**
     * 描述
     */
    @ExcelProperty(value = "描述")
    @ApiModelProperty("描述")
    private String memo;

    /**
     * 租户id
     */
    @ExcelProperty(value = "租户id")
    @ApiModelProperty("租户id")
    private Long tenantId;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态")
    @ApiModelProperty("状态")
    private String status;

    /**
     * 节点配置Json格式
     */
    @ExcelProperty(value = "节点配置Json格式")
    @ApiModelProperty("节点配置Json格式")
    private String nodes;

    /**
     * 节点配置
     */
    @ExcelProperty(value = "节点配置")
    @ApiModelProperty("节点配置")
    private List<SysNodeVo> items;

}
